//
//  SEMenuButtton.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/4/25.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class SEMenuButtton: UIButton {
    open var nameLabel:BaseLabel?
    open var photoImageView:UIImageView?
    
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.setUpUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setUpUI() -> Void {
        nameLabel = BaseLabel(style: .twiceStyle)
        self.addSubview(nameLabel!)
        photoImageView = UIImageView()
        self.addSubview(photoImageView!)
        
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
      
    }

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
